package com.djzhou.gmms.model.email;

import java.util.Date;
import java.util.List;

import com.djzhou.gmms.model.entity.Entity;
import com.djzhou.gmms.model.user.TbUser;

public class TbEmail extends Entity {


	private Integer emailId;//邮件ID
	private String emailTitle;//邮件标题
	private String emailContent;//邮件正文
	private TbUser sender;//邮件发送者
	private TbUser receiver;//邮件接受者
	private Date sendDate;//发送时间
	private Integer emailState;//邮件状态 0未读 1已读
	private Integer emailLevel;//接收方自主标记 邮件级别 0无级别正常邮件 1 星级邮件
	private Integer sendLevel;//发送方自主标记 邮件级别 0无级别正常邮件 1 星级邮件
	private Integer sendDelete;//发送方删除
	private Integer receiveDelete;//接收方删除
	private List<TbAttachment> attachmentList;//附件列表
	private Integer draftFlag;//是否为草稿 1草稿 0正常

	public Integer getEmailId() {
		return this.emailId;
	}

	public void setEmailId(Integer emailId) {
		this.emailId = emailId;
	}

	public String getEmailTitle() {
		return this.emailTitle;
	}

	public void setEmailTitle(String emailTitle) {
		this.emailTitle = emailTitle;
	}

	public String getEmailContent() {
		return this.emailContent;
	}

	public void setEmailContent(String emailContent) {
		this.emailContent = emailContent;
	}

	public TbUser getSender() {
		return sender;
	}

	public void setSender(TbUser sender) {
		this.sender = sender;
	}

	public TbUser getReceiver() {
		return receiver;
	}

	public void setReceiver(TbUser receiver) {
		this.receiver = receiver;
	}

	public Date getSendDate() {
		return this.sendDate;
	}

	public void setSendDate(Date sendDate) {
		this.sendDate = sendDate;
	}

	public Integer getEmailState() {
		return this.emailState;
	}

	public void setEmailState(Integer emailState) {
		this.emailState = emailState;
	}

	public Integer getSendDelete() {
		return this.sendDelete;
	}

	public void setSendDelete(Integer sendDelete) {
		this.sendDelete = sendDelete;
	}

	public Integer getReceiveDelete() {
		return this.receiveDelete;
	}

	public void setReceiveDelete(Integer receiveDelete) {
		this.receiveDelete = receiveDelete;
	}

	public List<TbAttachment> getAttachmentList() {
		return attachmentList;
	}

	public void setAttachmentList(List<TbAttachment> attachmentList) {
		this.attachmentList = attachmentList;
	}

	public Integer getEmailLevel() {
		return emailLevel;
	}

	public void setEmailLevel(Integer emailLevel) {
		this.emailLevel = emailLevel;
	}

	public Integer getDraftFlag() {
		return draftFlag;
	}

	public void setDraftFlag(Integer draftFlag) {
		this.draftFlag = draftFlag;
	}

	public Integer getSendLevel() {
		return sendLevel;
	}

	public void setSendLevel(Integer sendLevel) {
		this.sendLevel = sendLevel;
	}
	

}